package com.ruoyi.project.hidden.hiddenRepair.domain;

import java.util.Date;
import java.util.Map;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;

/**
 * 隐患处理对象 web_hidden_repair
 * 
 * @author ruoyi
 * @date 2021-01-26
 */
public class HiddenRepair extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /**  */
    private Long repairId;

    /** 隐患单据 */
    @Excel(name = "隐患单据")
    private Long orderId;

    /** 处理人 */
    @Excel(name = "处理人")
    private Long processor;

    /** 完成图片 */
    @Excel(name = "完成图片")
    private String finishImgs;
    private String finishDesc;
    private String checkImgs;

    /** 验收人 */
    @Excel(name = "验收人")
    private Long checker;

    /** 整改日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "整改日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date alterDate;
    private Date acceptDate;

    /** 是否有效 */
    @Excel(name = "是否有效")
    private String validFlag;
    private String processorName;
    private String checkerName;

    private Date submitTime;
    private Date checkTime;

    private OrderEntity orderEntity;

    public String getCheckImgs() {
        return checkImgs;
    }

    public void setCheckImgs(String checkImgs) {
        this.checkImgs = checkImgs;
    }

    public String getFinishDesc() {
        return finishDesc;
    }

    public void setFinishDesc(String finishDesc) {
        this.finishDesc = finishDesc;
    }

    public Date getAcceptDate() {
        return acceptDate;
    }

    public void setAcceptDate(Date acceptDate) {
        this.acceptDate = acceptDate;
    }

    public Date getSubmitTime() {
        return submitTime;
    }

    public void setSubmitTime(Date submitTime) {
        this.submitTime = submitTime;
    }

    public Date getCheckTime() {
        return checkTime;
    }

    public void setCheckTime(Date checkTime) {
        this.checkTime = checkTime;
    }

    public String getProcessorName() {
        return processorName;
    }

    public void setProcessorName(String processorName) {
        this.processorName = processorName;
    }

    public String getCheckerName() {
        return checkerName;
    }

    public void setCheckerName(String checkerName) {
        this.checkerName = checkerName;
    }

    public OrderEntity getOrderEntity() {
        return orderEntity;
    }

    public void setOrderEntity(OrderEntity orderEntity) {
        this.orderEntity = orderEntity;
    }

    public void setRepairId(Long repairId)
    {
        this.repairId = repairId;
    }

    public Long getRepairId()
    {
        return repairId;
    }
    public void setOrderId(Long orderId)
    {
        this.orderId = orderId;
    }

    public Long getOrderId()
    {
        return orderId;
    }
    public void setProcessor(Long processor)
    {
        this.processor = processor;
    }

    public Long getProcessor()
    {
        return processor;
    }
    public void setFinishImgs(String finishImgs)
    {
        this.finishImgs = finishImgs;
    }

    public String getFinishImgs()
    {
        return finishImgs;
    }
    public void setChecker(Long checker)
    {
        this.checker = checker;
    }

    public Long getChecker()
    {
        return checker;
    }

    public Date getAlterDate() {
        return alterDate;
    }

    public void setAlterDate(Date alterDate) {
        this.alterDate = alterDate;
    }

    public void setValidFlag(String validFlag)
    {
        this.validFlag = validFlag;
    }

    public String getValidFlag()
    {
        return validFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("repairId", getRepairId())
            .append("orderId", getOrderId())
            .append("processor", getProcessor())
            .append("finishImgs", getFinishImgs())
            .append("checker", getChecker())
            .append("alterDate", getAlterDate())
            .append("validFlag", getValidFlag())
            .append("createTime", getCreateTime())
            .toString();
    }
}
